package cn.zswltech.gruul.common.entity;


import cn.zswltech.gruul.common.dal.tkmybatis.IEntity;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.Date;

@Table(name = "bifrost_custom_tree_menu_ref")
@Accessors(chain = true)
@Data
public class CustomTreeMenuRefDO extends IEntity {
    /**
     * 创建时间
     */
    @Column(name = "gmt_create")
    private Date gmtCreate;

    /**
     * 最后修改时间
     */
    @Column(name = "gmt_modified")
    private Date gmtModified;

    /**
     * 创建用户账号
     */
    @Column(name = "create_by")
    private String createBy;

    /**
     * 修改用户账号
     */
    @Column(name = "update_by")
    private String updateBy;

    @Column(name = "custom_tree_id")
    private Long customTreeId;

    @Column(name = "menu_id")
    private Long menuId;
    /**
     * 排序
     */
    @Column(name = "sort_no")
    private Integer sortNo;
    /**
     * 显示用 menuName
     */
    @Transient
    private String name;
    /**
     * 显示用 menuName
     */
    @Transient
    private String enName;
    /**
     * 显示用 menuPath
     */
    @Transient
    private String path;
    /**
     * 显示用 menuCode
     */
    @Transient
    private String code;
    /**
     * 显示用 menuId
     */
    @Transient
    private Long id;
    /**
     * 显示用 menuIcon
     */
    @Transient
    private String icon;

}